package com.yvtian.pu.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 采购单明细(pu_order_shop)表实体类
 *
 * @author long
 * @since 2024-06-24 10:26:28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "pu_order_shop")
public class PuOrderShopEntity {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 采购单编码
     */
    @TableField(value = "order_code")
    private String orderCode;
    /**
     * 商品编码
     */
    @TableField(value = "shop_code")
    private String shopCode;
    /**
     * 商品名称
     */
    @TableField(value = "shop_name")
    private String shopName;
    /**
     * 型号规格
     */
    @TableField(value = "attribute")
    private String attribute;
    /**
     * 库存数量
     */
    @TableField(value = "quantity")
    private BigDecimal quantity;
    /**
     * 单位
     */
    @TableField(value = "unit")
    private String unit;
    /**
     * 申请数量
     */
    @TableField(value = "apply_number")
    private BigDecimal applyNumber;
    /**
     * 单价
     */
    @TableField(value = "price")
    private BigDecimal price;
    /**
     * 费用
     */
    @TableField(value = "amount")
    private BigDecimal amount;
    /**
     * 税率
     */
    @TableField(value = "tax")
    private BigDecimal tax;
    /**
     * 不含税单价
     */
    @TableField(value = "un_price")
    private BigDecimal unPrice;
    /**
     * 不含税费用
     */
    @TableField(value = "un_amount")
    private BigDecimal unAmount;
    /**
     * 备注
     */
    @TableField(value = "remarks")
    private String remarks;


}

